﻿using System;
using System.Collections.Generic;

public interface ITargetsData
{
    event EventHandler<SelectDataEventArgs> TargetsChanged;
    /// <summary>
    /// 当前选中的目标
    /// </summary>
    IReadOnlyList<UIElement> Targets { get; }
    /// <summary>
    /// 有目标
    /// </summary>
    bool HasTarget { get; }
    /// <summary>
    /// 设置目标
    /// </summary>
    /// <param name="targets"></param>
    void SetTargets(IEnumerable<UIElement> targets);
}
